package creationPattern.Singleton;

/**
 * 单例模式 - 枚举
 *
 * @Author: AllWe
 * @Date: 2024/10/09/10:33
 */
public enum Singleton_06 {

    INSTANCE;

    private Object object;

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public static Singleton_06 getInstance() {
        return INSTANCE;
    }
}
